from django.conf.urls.defaults import patterns, include, url
from django.conf import settings
from content.views import *

urlpatterns = patterns('',
    url(r'^course_list/$', course_list, name='course_list'),
    url(r'^course_detail/(?P<cid>\d{1,20})/$', course_detail, name='course_detail'),
    url(r'^course_add/$', course_add, name='course_add'),
    url(r'^lesson_list/$', lesson_list, name='lesson_list'),
    url(r'^lesson_detail/(?P<lid>\d{1,20})/$', lesson_detail, name='lesson_detail'),
    url(r'^lesson_add/$', lesson_add, name='lesson_add'),
    url(r'^class_list/$', class_list, name='class_list'),
    url(r'^class_detail/(?P<cid>\d{1,20})/$', class_detail, name='class_detail'),
    url(r'^class_add/$', class_add, name='class_add'),
    url(r'^student_import/$', student_import, name='student_import'),
    url(r'^test_add/$', test_add, name='test_add'),
    url(r'^active_add/(?P<lid>\d{1,20})/(?P<aid>\d{1,20})/$', active_add, name='active_add'),
    url(r'^active_detail/(?P<aid>\d{1,20})/$', active_detail, name='active_detail'),
    url(r'^active_type_list/$', active_type_list, name='active_type_list'),
    url(r'^active_type_add/$', active_type_add, name='active_type_add'),
    url(r'^active_type_detail/(?P<aid>\d{1,20})/$', active_type_detail, name='active_type_detail'),
    url(r'^active_type_atom_add/$', active_type_atom_add, name='active_type_atom_add'),
)